package com.engine4cloud.tdf.supervision.dto.create;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 核实取证
 *
 * @author wenjie
 * @date 2024-04-26 14:41:32
 */
@Data
@Schema(description = "核实取证")
public class RcglVerificationEvidenceCreateDTO implements Serializable {

    /**
     * 矫正人员编号
     */
    @Schema(description = "矫正人员编号")
    @NotBlank(message = "人员编号不能为空")
    private String rybh;

    /**
     * 被核实取证人
     */
    @Schema(description = "被核实取证人")
    @NotBlank(message = "被核实取证人不能为空")
    private String bhsqzr;

    /**
     * 核实取证事由
     */
    @Schema(description = "核实取证事由")
    @NotBlank(message = "核实取证事由不能为空")
    private String hsqzsy;

    /**
     * 核实取证人
     */
    @Schema(description = "核实取证人")
    @NotBlank(message = "核实取证人不能为空")
    private String hsqzr;

    /**
     * 核实取证时间
     */
    @Schema(description = "核实取证时间")
    @NotNull(message = "核实取证时间不能为空")
    private LocalDateTime hsqzsj;

    /**
     * 核实取证地点
     */
    @Schema(description = "核实取证地点")
    @NotBlank(message = "核实取证地点不能为空")
    private String hsqzdd;

    /**
     * 核实情况记录
     */
    @Schema(description = "核实情况记录")
    @NotBlank(message = "核实情况记录不能为空")
    private String hsqkjl;

    /**
     * 处理意见
     */
    @Schema(description = "处理意见")
    private String clyj;

    /**
     * 核实取证地点
     */
    @Schema(description = "核实取证地点", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    @NotEmpty(message = "核实取证地点不能为空")
    private List<String> areaList;
}